package com.triplelink.exception;

import java.lang.reflect.Field;

import com.triplelink.annotations.DatatypeProperty;

public class DatatypePropertyNotMatchException extends RuntimeException
{
	private static final long serialVersionUID = 1761598610488235228L;

	public DatatypePropertyNotMatchException (Field field, DatatypeProperty datatypeProperty)
	{
		super(field + ": The type " + field.getType() + " no mach with " + datatypeProperty.range() + " in @DatatypeProperty!");
	}
}
